package dk.jagtogjaeger;

import android.content.Context;
import android.content.Intent;
import android.view.View;

public class ButtonMenu {

	public static void ButtenMenuClickHandler(View view, Context context) {

		Intent intent;

		switch (view.getId()) {
		case R.id.huntJournalButton:

			intent = new Intent(view.getContext(), JournalActivity.class);
			context.startActivity(intent);
			break;

		case R.id.sweissDogButton:

			intent = new Intent(view.getContext(), TrackerDogActivity.class);
			context.startActivity(intent);
			break;

		case R.id.huntTimesButton:

			intent = new Intent(view.getContext(), HuntingSeasonsActivity.class);
			context.startActivity(intent);
			break;

		case R.id.sunOpAndDownButton:

			intent = new Intent(view.getContext(), SunriseSunsetActivity.class);
			context.startActivity(intent);
			break;

		}
	}

}
